﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SP.Docs.Migrator
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void copyFormsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmMoveDocs moveDocs = new frmMoveDocs();
            moveDocs.Show(this);
        }

        private void saveFormsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmExportImportDocs archiveDocs = new frmExportImportDocs();
            archiveDocs.Show(this);
        }

        private void relinkDocumentsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RelinkDocs relinkDocs = new RelinkDocs();
            relinkDocs.Show(this);
        }

        private void aboutAuthorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AboutAuthor abt = new AboutAuthor();
            abt.Show(this);
        }

        private void frmMain_Load(object sender, EventArgs e)
        {

        }

        private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            System.Diagnostics.Process.GetCurrentProcess().Kill();
        }

        private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Settings settings = new Settings();
            settings.Show(this);
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.GetCurrentProcess().Kill();
        }
    }
}
